package com.example.tests;

import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.regex.Pattern;

public class Test0 extends SeleneseTestCase {
	@Before
	public void setUp() throws Exception {
		selenium = new DefaultSelenium("localhost", 4444, "*chrome", "http://news360.com");
		selenium.start();
	}

	@Test
	public void testTest0() throws Exception {
		selenium.open("/");
		selenium.click("css=span.btn_signIn");
		selenium.click("css=div.popupWinClose");
		selenium.click("link=Fashion");
		selenium.click("css=#tools-feedback > a > span");
		selenium.click("id=fdbk_close");
		selenium.click("link=Top Stories");
		selenium.click("css=#tools-feedback > a > span");
	}

	@After
	public void tearDown() throws Exception {
		selenium.stop();
	}
}
